import java.util.ArrayList;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author suxiaomeng
 * @create 2020/3/16
 * @since 1.0.0
 */
public class FileUtilTest {

    public static void main(String[] args) {
        String filePath = "/Users/suxiaomeng/Desktop/download/20967380/2/lua.flv.bili2api.80";
        String outputPath1 = "/Users/suxiaomeng/Desktop/download/20967380/2/lua.flv.bili2api.80/filelist.txt";
        try {
            ArrayList<String> fileNameList = FileUtil.readFiles1(filePath, new ArrayList<String>());
            System.out.println(fileNameList.size());
            for (int i = 0; i < fileNameList.size(); i++) {
                FileUtil.outputToTxt(fileNameList.get(i), outputPath1);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}